package com.melon.basic.collection;

import static java.lang.System.out;

class Teacher extends People {
    public static void main(String[] args) {
        Teacher t = new Teacher();
        t.setName("刘老师");
        t.work();
    }

    // 必须实现该方法
    public void work() {
        out.println("我的名字叫" + this.getName() + "，我正在讲课，请大家不要东张西望...");
    }
}
